#include<stdio.h>
#include<stdlib.h>
void bug()
{	
	printf("bug\n");
}
int stack_test(int a,int b)
{
	//printf("before write : 0x%x\n",b);
	//int *p=&a;
	//*p=0xdddd;
	//printf("after write : 0x%x\n",b);
	//int c=0xcccc;
	int ret=a+b;
	int ret1=ret;
	int *p=&a;
	p--;
	*p=8;
	printf("adress->a %p\n",&a);
	printf("adress->ret1 %p\n",&ret1);
	printf("adress->b %p\n",&b);
	printf("adress->ret %p\n",&ret);
	printf("adress->p %p\n",p);
	int c=0xcccc;
	return ret1;
}
int main()
{
	int a=0xaaaa;
	int b=0xbbbb;
	printf("adress->a %p\n",&a);
	printf("adress->b %p\n",&b);
	int ret =stack_test(a,b);
	printf("you should run here\n");
	return 0;
}
